import java.util.Scanner;

public class trangle {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int a, b, c;
        a = sc.nextInt();
        b = sc.nextInt();
        c = sc.nextInt();

        if (a > 0 && b > 0 && c > 0) {
            if (a == b && a == c) {
                System.out.println("边");
            } else if (a == b || a == c || b == c) {
                System.out.println("腰");
            }else if (a + b > c || a +c > b || c + b > a){
                System.out.println("normal");
            }
        }else {
            System.out.println("非法");
        }
    }
}
